<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <title>银行开户</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <link href="https://cdn.bootcss.com/bootstrap-validator/0.5.3/css/bootstrapValidator.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.2/css/bootstrap-select.min.css">
    <link href="css/style.css" rel="stylesheet" type="text/css">
    <link href="css/my.css" rel="stylesheet" type="text/css">

    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.js"></script>
    <script type="text/javascript" src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap-validator/0.5.3/js/bootstrapValidator.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.2/js/bootstrap-select.min.js"></script>
    <script type="text/javascript" src="js/jquery.flexText.min.js"></script>
    <script src="https://cdn.bootcss.com/json2/20160511/json2.min.js"></script>
    <script type="text/javascript" src="js/my.js"></script>
    <script type="text/javascript">
        function initial(itype, data) {
            if (itype == 1) {
                if (data != null) {

                }
            } else if(itype == 2){
                if (data != null) {
                    $("#account_bank").val(data.account_bank);
                    $("#account_number").val(data.account_number);
                    if (data.swsf_license || data.swsf_license == "") {
                        $("#swsf_license").val(data.swsf_license);
                        getRemotePic(data.swsf_license, $("#lisenceImg"))
                    } else {
                        $("#uploadbtn").addClass("hide");

                    }
                    $("#uploadbtn").addClass("hide");
                    $("#submitBtn").on("clilck", function() {
                        window.location = "ee_u_progress.html";
                    });
                }
            }
        }
        $(document).ready(function() {
            var myapi = restapis;
            if (GetRequest()["id"])
                myapi.request("searchYHKH", null, "id=" + GetRequest()["id"], function(result) {
                    initial(data.swsf_state, data);
                }, function(e) {});
        });
    </script>
</head>

<body class="my-body">
    <img class="col-xs-4 col-xs-offset-4 img-responsive my-gap-top" src="images/dfa8c6ef0acedc844c59669f4f24fe1a.png">
    <div class="section my-topsection">
        <div class="container text-center">
            <label id="company_name">&nbsp;</label>
        </div>
        <div class="container">
            <hr>
            <div class="panel-title">
                <div class="text-center cricle-num">1</div>
                <div class="clearfix" style="height:32px;padding:14px">&nbsp;&nbsp;银行账户开户</div>
            </div>
            &nbsp;

            <form>
                <div class="form-group">
                    <label>开户银行</label>
                    <input type="text" class="form-control" id="account_bank" required/>
                </div>
                <div class="form-group">
                    <label>开户银行账号</label>
                    <input type="number" class="form-control" id="account_number" required/>
                </div>
                <input type="hidden" id="swsf_license">
            </form>
            <hr>
            <div class="panel-title">
                <div class="text-center cricle-num">2</div>
                <div class="clearfix" style="height:32px;padding:14px;">&nbsp;《第三方协议》网上签署</div>
            </div>
            <div class="text-left my-gap-top">
                <span style="font-size:14px">请及时登录<a href="http://www.tax.sh.gov.cn/">上海税务网厅</a>,操作前请在电脑上的相应接口连接上税务的“数字证书”,点击：“我要办事”->“税务登记”->“税库银三方协议签订”进行操作,完成后将协议凭证打印，盖章并上传至下方</span>
                <div class="text-center">
                    <h3>&nbsp;</h3>
                    <img id="lisenceImg" class="img-responsive my-gap-top" src="images/picframe.svg">
                    <h3>&nbsp;</h3>
                </div>

            </div>
            <a id="submitBtn" class="btn btn-primary col-xs-12 my-gap-bottom">确定</a>
        </div>
    </div>
</body>

</html>
